﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AmaroK86.MassEffect3.Texture
{
    public partial class FilterForm : Form
    {
        public bool filter = false;

        public FilterForm(DataTable dataTable)
        {
            InitializeComponent();

            foreach (DataRow dataRow in dataTable.Rows)
            {
                checkedListBox.Items.Add(Convert.ToString(dataRow["Result"]), false);
            }
        }

        public CheckedListBox getListBox()
        {
            return checkedListBox;
        }

        private void buttonFilter_Click(object sender, EventArgs e)
        {
            filter = true;
            this.Close();
        }

        private void btnUndo_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
